Changed bulk insert and insert to return insertId consistently.