Bugfix unread count

refs #14