issue #12054: Put id sequence back.
issue #20154: swat.