Fix parsing errors
Iterate over the correct union

In Union.unite the iteration iterated over the wrong union.