Fix groupby_distinct_samekey