This function neglects to reset the `display_countries` counter, so the infinite-scroll part stops working after you click the reset button (though the "load all" still works).