Issue #37: group comparison predicate