need explicit bool conversions here

to make some tinderboxes happy

Change-Id: I136895674cec8eda874acda0bf5c7a96b3a22778