Added option to execute INSERT IGNORE queries