Measures Data Service: Fix tree result path building