Filtering for trait head equal long