Removing "edit" from end of url for cloning flag lists