issue #20154: Fix contact relations.