Filtering for trait head equal cap