Bug fix on SortedIndexedArray. Index was wrong.