When reading old messages in the inbox clicking on the link to view it in context of the post then returning to the inbox marks them as unread giving the message in inbox for each notification this is performed on.
Marking all as read will remove unread notification again.