write_seq_first/last wasn't updated correctly when appending messages, causing "messages_count too large" errors.
write_seq_first/last wasn't updated correctly when appending messages,
causing "messages_count too large" errors.

--HG--
branch : HEAD

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