fix groups that reference a dataset that no longer exists