Query the table to make sure the auto generated key is unique. [#77432872]