This supersedes merge request 633. It closes issue #919.
This mr adds a way to select specific groups to include the export.