ATLAS-61 : Only show legend entries for markers that exist