do not replace multiple versions if they have the same version
Merge pull request #30 from grosser/single-sub

do not replace multiple versions if they have the same version