Automatically handle multiple pages of results