Cleanup phantom groups.