Filtering for trait code equal RGOK