Update GreaterThanValidator.java

Fixing a minor bug.