Filtering for trait specification equal the mask