Fixed a bug in user to index key-value store.
Another user key-value store related bug fixed.