Fixed just introduced wrong initialization of the AgentCache