Changed setNextLink to account for older chapters having different format