Applying suggested patch to fix redis errors.