Clean up duplicate links