Fixed recursive cache data setting bug.