Fixed Query, limit and offset are now added as parameters
Fixed QueryInsert