Error protection for bad link IDs