Fixed multi-insert error handling