Fixes issues that might arise when inmemory cache is synced with the backing store cache