[Bug] Surfing Activity - longest wave in summary is not the longest wave

In connect web and iOS, the summary shows "longest wave" for a surfing activity, but when you look at all waves, it isn't necessarily the longest, like in the screenshot below. Longest wave in the summary should just be MAX(wave distances).