Correcting redis_key bug