Fixing old batch inserts.