Clean up recursive links.