Fixing precedence of or and pipe