I get weird cache misses from lru_cache. I tried to make a minimal test sample to reproduces the problem (that I can share here) but so far no luck (it works correctly in the mi