Managed caching bug fixes