Fixed ending duplicate insert

3rd page and beyond doesn't get linked