[Fixes #43880563] Don't try to load the next page if there is none.