More specifically, the max frequency is set to the sample rate * 0.2. So, higher frequencies are possible at higher sample rates. Realistically, the algorithm probably needs at least 10 samples in a period to work properly. 8820 Hz at 44.1 kHz sample rate is 5 samples, which is really pushing it.
I think that's nearly the top of useable fundamentals for audible music. I can imagine wanting to identify other fundamental frequencies, but I think that these are a bit of an edge case? At that point, the hottest fft bin is always the correct answer because there are no salient harmonics.