Fixes issue with redis