[General] fix return of NULL value in database query for total unread count (should fix issue #49)