[mms] Correctly update viewport selected status if mailbox is switched during a delete action (Bug #12230).