Fixed cache clearing order.