Pretty sure this guard should be is_tuple(OldSeq). Your make_replacement_arg function expects a tuple to work properly.