Fix bug in getSplits method of IndexedTextInputFormat