Added checkRange0Allowed function to Validation.