Fix boolean type converter