Filtering now uses objects as the comparator.