Fix the assembleUnion and ordering construction for the Union operators