Fix deadline validation to only run if deadline has been updated