fix a bug introduced in previous version with regards to multi-row inserts that had different column names across rows