Fix potential NPE when using fetchMoreResults

JAVA-318 #fixes