Filtering for trait model equal b