Fixing bug on expired cache entry.