Fixed mixup between keys and values in tuples in tuple_min_heapq.