Fixed error in complimentary_pairs