Fix a logic flaw in GetCreatureNameByGuid, GetCreatureNameById and GetCreatureIdByGuid and also fix an exception thrown when using GetCreatureIdByGuid