[MNG-5568] fixed edge case version parsing bug causing inconsistent
comparison results