Fix problem in plotLodProfile if max lod is at multiple locations