Correct logging for batch updates/inserts when there are optional columns (not set)