Fix forcing to/from bool warnings.