Set change event origin to 'local' when coming from local data store (fixes #457)