Fix infinite notification fetching
There's two issues here: we lost the query parameters of the next request URL, so we essentially always queried the first set. Secondly, we started from the beginning after reaching the end and not getting a URL for the next set.