Unread messages count show wrong number of unread messages
When starting with a clean DB, upon opening a chat with a contact, MAM would download history. When it is retrieved then a badge of unread count is shown both in the roster view and in the chat view when scrolling. This number is wrong and is even negative. Also, it never disappear, even after restarting the application