fix work packages still displayed after deletion

[``* `#16147` work packages still displayed after deletion``](http://www.openproject.org/work_packages/16147)
@myabc I think we could remove this code altogether since the package list is reloaded anyway. I left it in case we switch it back to removing rows.