Fix bad redis variable and missing self
Merge pull request #1635 from elzj/redis_split

Issue 3974: Fix bad redis variable and missing self