bug fixes for judging oral schedule.