Fixed copy/paste error for the index into the data array.