Check if less than the number of elements in a batch were inserted