Cast to right type in dictNext().
Cast to right type in dictNext().

This closes issue #1929, the other part was fixed in the context of issue

xuzhezhaozhao/redis_reading,darksideofthemoo/redis-histogram,ttuna/msot-redis,ttuna/msot-redis,louisliangjun/redis,ramonsnir/redis,spearhead-ea/redis,ramonsnir/redis,splitice/redis,louisliangjun/redis,jxwr/redis,himoca/redis,slfs007/mk-redis,spearhead-ea/redis,maodeyi/redis_lua,ttuna/msot-redis,ksarch-saas/redis,darksideofthemoo/redis-histogram,ksarch-saas/redis,darksideofthemoo/redis-histogram,jxwr/redis,louisliangjun/redis,HunanTV/redis,spearhead-ea/redis,jxwr/redis,MSOpenTech/redis,maodeyi/redis_lua,splitice/redis,slfs007/mk-redis,darksideofthemoo/redis-histogram,MSOpenTech/redis,slfs007/mk-redis,HunanTV/redis,himoca/redis,ksarch-saas/redis,ramonsnir/redis,maodeyi/redis_lua,himoca/redis,louisliangjun/redis,xuzhezhaozhao/redis_reading,MSOpenTech/redis,ttuna/msot-redis,ttuna/msot-redis,splitice/redis,HunanTV/redis,MSOpenTech/redis,MSOpenTech/redis,xuzhezhaozhao/redis_reading,HunanTV/redis,xuzhezhaozhao/redis_reading,splitice/redis,ksarch-saas/redis