Remove subitems from parent row when exporting board to Excel

When I export a group (incl subitems) to Excel, the subitems are listed in the same row as the parent item, as well as indented in the cells below. Can I have the same-row subitem automatically removed before exporting? I’d like it to match the board I’m exporting… indented, on separate rows.