Fixed parsing of boolean fields