Don't call loadMoreItems() if query is null or empty.