Filtering for trait code equal AFES