move all numeric filter comparisons to one method