Getting the wrong breadcrumb path with a specific title

While trying to fix another issue, I was able to make it work.
The solution is here:

If someone sees something that should be fixed/tweaked, please let me know, as I’m not a developer.

Thanks in advance!