Fix 'There are multiple DataStores active for the same file' crashes