Filtering for trait code equal QLQP