Fix return values of create

The RelationAll create method can not return the Relation instance as they have
not the same ids.

issue3804
review4801002
Fix written values and clear the cache

issue3808
review4831002