Fix links for relations