handle nearest_pill_time not within schedule period