prevent NPE in recordLoader.  still need to handle the last batch correctly.