Small improvement in class Batch Insert