Fix an issue with mailboxes that don't support modseq (NOMODSEQ)

Please see http://tools.ietf.org/search/rfc4551#section-3.1.2.