fix work packages still displayed after deletion

[``* `#16147` work packages still displayed after deletion``](http://www.openproject.org/work_packages/16147)
@0xF013 do you want to remove it?