Adding equals/hashCode to SqlPredicate class.