Adds group when non-existing one has been given as a collection and adds the data set to the group.