Export calc document to pdf show incomplete bookmark when security is set

libre office 6.2 win 10

When I export a password protected calc document to pdf de bookmark is incomplete:
example of

If I export the same document without security the bookmark shows as:
example of bookmark

From what I can see, with security activated, the bookmarks maximum size is 10 characters long.

Is this a bug or am I doing something wrong?

Can anyone help? Thanks in advance

With version the problem is solved