Set relations delete endpoint to use correct id

https://www.openproject.org/work_packages/15033