Clearing cache when deleting something from queue.