Issue 3974: Fix bad redis variable and missing self

Issue 3974: Fix bad redis variable and missing self

https://code.google.com/p/otwarchive/issues/detail?id=3974