Brain 'rejects negative thoughts'