Fix for showing unread counts on connection restore.