Summarize Max value over group

@iskorokhid, I’m glad it worked.

You can read more about how to deduplicate data here: