Fix an issue where the AIName of the creature_template and gameobject_template would target the guid of the creature/gameobject instead of the entry