Small fix in trendline regarding locations
Fixed #7251: trendline was showing the last date value twice