Non-existing sequences will now be inserted properly.
By the previous removal of the synchronized keyword multiple threads could simultaneously insert the same sequence,
resulting in a duplicate key.
The code is currently being reviewed by two other developers!