It must be something to do with where in the database file the spells are being stored.
I'm generating the database path based on what I saw in the two different modules with spells that I have. They both use the same basic path, so I figured they all would, but I guess they don't.
I don't have the core rules, nor the archive spells.
I would need examples of what the path looks like to fix the problem. The name alone is not enough it seems.
I'm using "spelldesc." .. sSpellName .. "@*" as the path for the spell.
Now this will return any database record within the spelldesc location with the specific spellname specified within any module named after the @.
These modules appear to be doing something differently.
I could post a version of the extension that spits out into the console every spell it finds within spelldesc.
You could then give me samples of what the they look like. Hopefully they give something meaning full.