Fix incorrect use of sql multi insert