Fix bug with the seek index.