Fixed an issue where the persistent store was being ripped out from underneath the sync changes managed object context causing future syncs to fail.