Fix another bug in the caching code
Fix another bug in the caching code

mabushadi/dpxdt,Medium/dpxdt,steven-hadfield/dpxdt,bslatkin/dpxdt,Medium/dpxdt,ygravrand/dpxdt,gBritz/dpxdt,bslatkin/dpxdt,weeksghost/dpxdt,weeksghost/dpxdt,gBritz/dpxdt,gBritz/dpxdt,weeksghost/dpxdt,mabushadi/dpxdt,gBritz/dpxdt,bslatkin/dpxdt,weeksghost/dpxdt,mabushadi/dpxdt,bslatkin/dpxdt,ygravrand/dpxdt,mabushadi/dpxdt,Medium/dpxdt,ygravrand/dpxdt,Medium/dpxdt,steven-hadfield/dpxdt,steven-hadfield/dpxdt,steven-hadfield/dpxdt,ygravrand/dpxdt