fix for grouping in last activities