Changing handling of "latest." with component selection rules to only consider a unique version

+review REVIEW-5224