issue #20026: Fix scenario where an auto number can be superceded by the...

... system.