fix issue with unread count

Since the `getUnread_entriesMap` had a null check (and `unread_entriesMap` is never null) , it was *not* being populated with elements.