Also adapt the number of messages in a mailbox if the uidset is invalid.