I mean here, we should delete the restriction before changing and propagate by distribute_restrictinfo_to_rels() as designed in remove_rel_from_query