Fixed unment dependencies error when recursively enabling an application
already enabled