notification: fix unread counting