fixed insert query compiler, was not consideing the case of explicit
primary key in params
fixed error seq_reset_sql