Fix to index of list items

There was a small problem with the rendering in IE11 that set the data-original-index of all items to 0. This change corrects that issue.