Added test revealing problem with the union type transformation when field type does not exist for a certain membername
Fix for problem with the union type transformation of the field expression when field type does not exist for a certain membername