Update add_merge_inversions.php