Fixed defect encountered by user with no available time periods.