fix schedule.post_horizon for end of times