Fixed bug when skipping all values in an insert chunk