Fix 9486a31d0c4af8302a9e27b40f55a94933cdbf7f by compact-ing cascaded apps