Booleans now being typecast correctly