issue64: changed findSchedule to take in a schedule object instead of a schedules array element