Fixed boolean type handling