More routing work. Remove extra links when editing a single path