Fixed redis idioms type conversions.

Fixes 74205821fa2f743c10a8891a578881f6c395dd22