lib-storage: Fixed assert-crash with private indexes when looking for first unseen msg.
lib-storage: Fixed assert-crash with private indexes when looking for first unseen msg.

dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot