My calculation is that with $n$ candidates and an initial block that you interview without selection of size $m$, then the probability of selecting candidate rank $k$ (for $m < k \le n$) is the sum over possible maximum rankings $x$ in the initial block of the product of
- the probability $x$ is the maximum ranking in the initial block, which is $\dfrac{x \choose m}{{n \choose m}}-\dfrac{x-1 \choose m}{{n \choose m}}=\dfrac{x-1 \choose m-1}{{n \choose m}}$
- the probability $k$ is the first of the better candidates to be interviewed after the initial block, which is $\frac{1}{n-x}$ since there are $n-x$ better candidates each equally likely to be seen before the others and $k$ is one of them if $k>x$.
That gives
$$P(k)=\sum_{x=m}^{k-1} \frac{x-1 \choose m-1}{{n \choose m}(n-x)}$$ which can be written as $$P(k)=P(k-1)+\frac{k-2 \choose m-1}{{n \choose m}(n-k+1)}$$ starting at $P(m)=0$ since the best candidate in the initial block of size $m$ is rank at least $m$.
For example, with $n=100$ and $m=37$, that gives $P(38)\approx 4.6\times 10^{-30}$ and $P(96)\approx 0.015$ and $P(100)\approx 0.371$. Summing $P(k)$ over $k$ gives exactly $0.63$ which, as you observe, is less than $1$. This should be expected as there is probability $\frac mn$ $(0.37$ here$)$ that the maximum ranking in the initial block is $x=n$ and so no later better selection can be made.
Here are $10^5$ simulations with $n=100$ and $m=37$ using R. They fit my calculations after allowing for simulation noise. In particular, in about $37\%$ of cases no candidate is selected.
secretaryselect <- function(numbercandidates,initialblocksize){
ranks <- sample(numbercandidates)
bestinitial <- max(ranks[1:initialblocksize])
selectable <- (1:numbercandidates) > initialblocksize & ranks > bestinitial
return(ifelse(any(selectable), ranks[min(which(selectable))], NA))
}
set.seed(2024)
numbersims <- 10^5
sims <- replicate(numbersims, secretaryselect(100,37))
table(sims, useNA="ifany")/numbersims
79 81 82 86 87 88 89 90 91 92
0.00001 0.00001 0.00001 0.00004 0.00007 0.00014 0.00013 0.00053 0.00065 0.00127
93 94 95 96 97 98 99 100 <NA>
0.00209 0.00430 0.00795 0.01391 0.03053 0.06203 0.13511 0.37025 0.37097