fixed bugs in schedule_model preventing viewing of all schedules