If the server returns more than one page for versions, we will be stuck in the first one now. We need to continue fetching the pages until `next=null`.