#465: Refactoring greaterThan, lessThan validator