Fixed IsInOut primitives to correctly pass the input value to the native code.