Fixed a bug where using an Oracle sequences would cause inserts not to happen on the first try.