Fixed a bug with empty groups.
0.3.16