Tweak caching to hopefully prevent PHP warnings

Hopefully prevents "Argument 1 passed to xPDOObject::load() must be an
instance of xPDO..." warnings.