Fix a error with duplicated GUIDs.