Fixed the object chooser.
Fixed saving of object relations