Handle and debug case where API returns no pages

Authored by Konfused-Kitten on Thu, Oct 12, 10:00 PM.