Fix validation of shechduled time.