Remove don't-cares in collapsed output