update filtering logic for qual/missing