(#22159) Fix anonymization for catalog edges

This patch ensures the context for edges is correct, without it edges always
get anonymized breaking exports when using the moderate profile.

Signed-off-by: Ken Barber <ken@bob.sh>