Fix incorrect index
[mms] SECURITY: Fix XSS in displaying user-defined flags in basic mailbox and message view.