Bug fix in getting vector of values form KVStore