Replace bitwise & with short-circuit &&.