Change in behavior of kdialog -getexistingdirectory /example/dir

The behavior of kdialog -getexistingdirectory seems to have changed after the last update to version 23.04.0.

Previously, when I passed /example/dir as a parameter, the dialog with directory tree appeared and the passed directory was automatically selected, so I could confirm with ok.

Now the dialog opens and it shows the content of the passed directory and I have to go back one level and then select the directory and confirm with ok.

How do I get the old behavior back?