fix: comparison of a boolean expression with int other than 0 or 1

Issue #570 by dcb314 on github

viewType.html?buildTypeId=bt7&branch_Singular=comparisonWarning&tab=buildTypeStatusDiv