min/max inclusive for validate_in_range