fix aggregate details joins to reflect one line per contact (now that we have multiple contributions on one contact line