Fixed issue with unification of unions