fix edgecases for version labels that are not unique