[Hotfix] 15176 internal error clicking on preview for agenda or minutes

[``* `15176` Internal error when clicking on preview for agenda or minutes``](https://www.openproject.org/work_packages/15176)