Correct daily_events() schedule check