(VBAT-27) fixed bug that caused first record of batch to be skipped