Fixed issue with cleanup of dashboard cache.

Change-Id: Idd109295a7fb9c822dea9f5b0797048458299fc3