Fix validation message for max

The old message said "less than", while the actual check is for less than or equal to (at most).