fixes #3672 check_conditional fails with bool type conditional