Filtering for trait model equal w