Filtering for trait format equal square