Protect against wrong order merge with upper and staff groups. A merged group is now considered as one track when exporting