Use a different technique for eliminating nulls in the pairs