Naming series skipping values

We have created a custom naming series, .###### but sadly it has started to skip values.
It is being incremented by value of two instead of 1, this issue persists even after setting the value

I forgot to mention in previous version, there wasn’t this problem. Could there be a problem with the version? I am running
ERPNext: v12.2.2 (version-12)
Frappe Framework: v12.0.20 (version-12)

It was solved after update to the newest version and a restart

This issue is still present in version-15. The Github Issue was closed without resolution.

It’s not just annoying, its not a good look for people that are new to frappe. In one customization, i manually counted the existing records to figure out the next one. Obviously this gets inefficient as the rows grow.