Fix location of merging metadata in control flow.