Fix dependent app delete