notificationsUnread is not reporting the correct number of unread notifications

When no unread notifications are waiting, I correctly get 0 as the unreadNotificationsCount. When there should be unread notifications, I always get '1' as the count, even when there should be more unread notifications.

Assigning to @simong