Set correct id generation strategy
Merge pull request #411 from kgribov/KeyValueStorageHotFix

Set correct id generation strategy