Made it so that the end indices for all links is 1 base before where it was previously