Filtering for trait code equal BHGW