Fix T37768: marker labels were misidentified