Enabled condition of expanding of global type application.
Added test.
Fixed.