fixed error in subarrayToIndex: that causes a crash if you pass array.count as the index
fixed error in subarrayToIndex: that causes a crash if you pass array.count as the index

twobitlabs/TBLCategories,twobitlabs/TBLCategories