Fixed onePair to find only onePair case

Previously, it could have returned True for 3 of a kind case.