This enables us to return the latest version of a package when no version is specified rather than the oldest. Therefore, we don't need to modify the search algorithm to return the latest version of a package.