Bidirectional relations are not created correctly if they have different names on both sides.

Also, no test exists for this case.