You can use this macro to get base spell name:
And also look your log:
[D] 15:50:15 - Spell(string spellName): spellName=Fireball, Id found: 133, Name found: Fireball, NameInGame found: Fireball, know = True
[D] 15:50:15 - Spell(string spellName): spellName=Inferno Blast, Id found: 118280, Name found: Inferno Blast, NameInGame found: Inferno Blast, know = False
[D] 15:50:15 - Spell(string spellName): spellName=Pyroblast, Id found: 11366, Name found: Pyroblast, NameInGame found: Pyroblast, know = True
If "know = False" you have probably don't put good name (NameInGame found: Inferno Blast, know = False).