Fixed delete dangling cross references