Fixing issue where viewed threads keep going to the first page instead of next unread