include 'equal to' case in filter comparisons