validate that integers are between a valid range.