Safety check: don't set the max to be less than 1