BUGFIX: Swap global header at rank0 if needed