Filtering for trait code equal MGIN