dsync: Fixed potential assert crashes with remote dsyncing.
dsync: Fixed potential assert crashes with remote dsyncing.

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