leaflet client: fix itinerary highlighting issue reported in #1145