Fix when default value was set to false

False error, when defaultValue was set to false.