added missing boolean type handling

Setting a field to the boolean type should now work properly.