Make relations clean up if they find a hanging link.