Fix validation for task settings/schedule update