Filtering for trait head equal box