Using set.intersection() as it is more elegant and efficient.
The table used for storing the groupby is persisted now
Make added columns persisted if the underlying table is persisted too