ui.MainWindow.export_summary: fixed error when exporting with multiple groups