Update schedule.c

fixed a subtle timing issue. Let me know if you can break stanley.