Correct types for Validation::range().

Refs #3304