Fixed issue where unread messages wouldn't alert properly.