Fix incomplete rename of `x` to `range`.