Fix compatibility with redis 2.6.x