do not replace multiple versions if they have the same version

Just ran into this :D