Basic next index finder for track path