Fix for the union type transformation of the field expression when the field expression is not the root of an apply expression.

Test revealing the problem is also included.