Sweep to use GroupTypeCache instead of database lookup