fixed crashing when deleting a map unit from the map unit editor when there are no extended attibutes