Update CompareValidator.php