Minor tweak to parentheses matching