Eliminate compiler warning about logical not only applying to lhs of expr.