Fix bug with rw sequence offset and io_limit