fTools/union: fix output attribute shift
Merge pull request #844 from minorua/union_attrs

fTools/union: fix output attribute shift