fix work packages still displayed after deletion