Filtering for trait specification equal party