Fixed cache deletion problem.