There is no EFFECT_CURSE, it got recorded as EFFECT_CURSE_I instead. Some status effects with multiple levels do this, gotta watch for it. I've crashed my test server same way making new things from same prob.