mail_index_lookup_seq*() could have returned wrong sequences with transaction views. This caused assert-crashes in recent flag handling for mbox and maildir.
mail_index_lookup_seq*() could have returned wrong sequences with transaction views.
This caused assert-crashes in recent flag handling for mbox and maildir.

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