Convert link mappings to type link when a related site tree element has been deleted.