Fixed a boolean check that was broken by overzealous lint fixing!

(To be clear: I was the overzealous fixer.)