Fixed index reopen check to work more correctly when syncing view/head.
Fixed index reopen check to work more correctly when syncing view/head.

Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot