Fix set data object instead of model object to nested model.