RangeCheckValidator bug fixed