Fixed problem with packages that span multiple pages

#256
BTW because this is XML you could probably do `attr.Value == "next"` because otherwise it wouldn't work anyway.