Searches where a debtor was specified that had no lines incorrectly showed all lines

If a search was set up with 'Debtor = xxx', where a debtor was specified that had no lines, all lines were incorrectly shown.