Some messages were still unread, and the notification of a new message was ON even after the message had been opened and responded to.
The issue has been resolved and the number of unread messages is updating accordingly.