Cleanup DeleteOldReferences