I think `zremrangebyrank`'s `stop` param is inclusive, but here we are treating it as exclusive.