Fixing the unread count error