Fix Undefined value warning with Redis backend (references #1)