Correct logical error not considering possibility of more than two pairs from seven cards