Added unmatchedPairs reset