Fix bool handling.