Fixed boolean parsing