I took a look around in your code, but couldn't find anything specifically wrong (I also didn't understand where everything leads, and figuring that out would take a bit).
Thanks. I know how to fix this and will, but I'm worried about where it's coming from. Will fix in next update. I have a few things ready to be updated on this mod anyway.
It is an interaction with another mod but I think I know how to fix it. My keyboard is taken apart right now for cleaning so I'll see what I can do once that's done.