Fixed sound integer condition to boolean condition