Release for approval generates Error404

Task #11379

 

For certain data constellations, a 404 error was displayed when releasing or approving entries.

This bug has been fixed.