Fix boolean value being lost on form reload.