Core.Cache - fix issue introduced in 761354d