Add workaround for Redis 2.4