Fix forcing into to bool warning.