altered checking date range in IsPaperInSubcategories