Modified some conditional expressions (with DeMorgan's Law) to fix syntax errors on some shells