Filtering for trait model equal n