Tweak comparisonfilter logic