fix work packages still displayed after deletion
Merge pull request #1948 from 0xF013/feature/16147-work-packages-still-displayed-after-deletion

fix work packages still displayed after deletion