Huh. That's... weird. I'll see about adding some guard statements to prevent that, but I'm not sure how you managed to trigger that error. It should be nearly impossible to get into the state needed.
If you're still blocked from playing that save, you should be able to fix it by removing the mod, loading/saving the game once, and then re-adding the mod. (But it should be running code that would detect/fix that error once a second /anyway/.)