Check tags have matching parens. Fixes #183