Filtering for trait number equal #594