Attempt to fix issues with disappearing snapshots when using nested
editing contexts.
Merge pull request #342 from smarthealth/hotfix-erxec

Attempt to fix issues with disappearing snapshots when using nested ecs