Fix nil table reference for spells that aren't defined.