Fixed unread message count bug