Thanks for the report. I will update it.Found a bit of a problem with this script. Thankfully I was able to fix it.
In SpellDefRegistry.cs, you defined the space for spells to be 1000, and even put a comment saying it should be the same as in SpellRegistry.cs. However in SpellRegistry.cs, the space is only 600, which was making any spell with a ID higher than that not work.
If anyone has this problem, just look near the top of SpellRegistry.cs and change the 600 to 1000, and recompile.