Fix bug that necessary parentheses weren't added when converting matcher