Fix Valid::range bug excluding min/max values

Closes #4672 bug introduced in 23e1b0b
Merge pull request #323 from dm/3.3/develop

Fix Valid::range bug excluding min/max values (refs #4672)