Filtering for trait head equal grouper