- fix bug in ToggleField where it would get an exception of the boolean value was null