fix relation removal not triggering workpackage update

[``* `#17647 ` fix relation removal not triggering workpackage update``](http://community.openproject.org/work_packages/17647)