DDF-933: Fixed issue where applications with an uninstalled feature could not be removed