Fix most bool hacks.