[BUGFIX] Fix relation handling in Vidi

In turns out relations "many-to-one" and "one-to-many"
are wrongly handled.

Change-Id: Iea18d1b820624fb7cb436e36a947a03be463a742
Releases: 0.4.0
Resolves: #60840
Merge "[BUGFIX] Fix relation handling in Vidi"