Fix ngModel re-ordering on stop. Decrease start/end indices by one, because these start with 1, not 0.