fixed #6324: Redis::setItems: the last item is overwritten
Merge branch 'hotfix/#6575-redis-setitems-last-item-overwritten-fixes-#6324'

Close #6575
Close #6324