4021. [bug] Adjust max-recursion-queries to accommodate the need for more queries when the cache is empty. [RT #38104] (cherry picked from commit be7fba8019)
be7fba8019