Fix bug in DictMemoryStore that was breaking JoinedStore tests.

This should fix the broken tests, in combination with your fixes.