Bug fix

Fixed bug with markSeen not correctly updating messages.