Fixed a boolean check that was broken by overzealous lint fixing!
Merge pull request #13620 from whiteinge/boolean-lint-breakage

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