(#22159) Fix anonymization for catalog edges