Filtering for trait code equal IDMC