fix bug where an expiring DEA would take out all apps associated with its instances