Fix boolean type cast