Fixed cache loading for History