[client][managed][offline] minor refactoring in the store

Same question here: Should __deleted be tested here?