Bug 1073395: Fixing precedence issue in condition