Fixes State#setJavaField so that it doesn't throw a useless exception when converting a null into a boolean.