Fixes x7 error in get_schedule