This doesn't need to fixed in this pull request as it's no regression, I've opened [FS#2693](https://bugs.dokuwiki.org/index.php?do=details&task_id=2693) for this problem.