Fixed opening pass and made ordering transitive