Issue #24781:fix ending date of schedules selected
Merge pull request #2000 from garyhgohoos/24781

Issue #24781:fix ending date of schedules selected