Fix crash when copying a map with label leaders
Merge pull request #5013 from mapsherpa/patch-1

Fix crash when copying a map with label leaders