Fix parsing of booleans

The
  number.objCType == "c"
didn't work properly.

PS: The value==0 check was actually inverted. Should have been value!=0, as far as I can see. No idea why the tests succeeded...?