Fix case where open and close parens were not being recognized.