Return empty array if group is empty
Merge pull request #6 from Mazwak/master

A little bugfix on groups