Fix parsing of empty parenthesis groups.

The parser would fail when parsing for example "abcd()efgh".