fixed bug in pagination when next_page link stays inactive between requests