This is done only if there is a version _and_ the mapping has a version and that order. We could switch these two checks.