Bugfix for reverse global order construction