Ion-infinite-scroll only works the first time?

The problem is ion-infinite-scroll works when loading the second page.
But when trying to load the third page nothing happens it doesn’t even call ratings.load_next().


part of Load_next function:

What is the value of ratings.$all during the execution of ratings.load_next() and at the of the ratings.load_next() call.

The value of ratings.$all is false.
So that is not the problem.