Fixing 'OR' precedence