Fix possible range violation error when accessing the upgrade cache.
Fix possible range violation error when accessing the upgrade cache.

Abscissa/dub-data-mod,p0nce/dub,D-Programming-Language/dub,nazriel/dub,dreamsxin/dub,gedaiu/dub,jelmansouri/dub,xentec/dub,Abscissa/dub,Flamaros/dub,alexeibs/dub,y12uc231/dub,rjframe/dub,grogancolin/dub,schuetzm/dub,jeanbaptistelab/dub,Geod24/dub