emergency fix for application delete bug
Merge pull request #242 from jgritman/delete-hotfix

emergency fix for application delete bug