Collapse empty parens and [] in summary group format.