Don't crash when different search conditions reduce the search range so that minimum sequence becomes larger than maximum..
Don't crash when different search conditions reduce the search range so that
minimum sequence becomes larger than maximum..

--HG--
branch : HEAD

jkerihuel/dovecot,dscho/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,dscho/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,dscho/dovecot,dscho/dovecot,jwm/dovecot-notmuch