Split the page-change event in a page-change event and a range-change event:
If you dont have a second page by default and you're adding items, then the external end variable won't change
because no page-change event was triggered. This is now solved via the range-change event.