fixed attempting to load additional results if last query had fewer than max allowed