Avoid collisions with user-defined operators…

… by defining a word boundary for logical operators.