Corrections

Forgot to pass the startoffset value back into the URL when it’s
rebuilt. Was also checking the wrong value when building the variable.