Fixed creation of group by tag for XML report export.