Prevent potential issues where APIs involving paging may return empty pages, in case the internal APIs will be subtly misused in the future.