BatchReader fix, fixes issue #116