Fix parsing of booleans