Fixed bug with outer parenthesis matching