Fixed error when the user tries to mark entries as read when there are
no unread entries