Fix wrong values used for type boolean