Fix boolean types.