Fixing controller manager enums

Enums ordinals aren't matched properly at the JNI. This fixes.