Removed unused ids from redis.