Knockout validator for the "max" constraint.