Fix bug with s3 backup offset