fts: Fixed crash with some search queries in empty mailbox.
fts: Fixed crash with some search queries in empty mailbox.

LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot