Improve parentheses stripping