Filtering for trait Head equal Cap3