Hey @kitking thanks for reporting.
This was due to a regression and broke client portal documents entirely from the recent 25.06.x update that split document versions from documents.
You cut the head off one and 20 other heads grow back.
This has been fixed now and is in the develop branch
itflow-org/itflowffad0cd