in unread mode, use the actual number of unread items as offset instead of the size of the list of items (#462)