Changes to the model was applied to the incorrect scope