I might be overcomplicating a simple change, but could you avoid this second call to `getPage()` by getting the page in `buildGenericResult()` and then passing it to `getPage()`?