Update CompareFilterImpl#equals to use correct subexpression accessors
Merge pull request #458 from smithkm/GEOT-4785-backport

GEOT-4785 backport CompareFilterImpl.equals