[12729] Fixed possible crash in LookupSpell command