Fixes minor issue when retrieving from localcache