-Fixed off by one problem on index.