write-command: be a bit more paranoid when generating inserts.