Filtering for trait number equal #31