Fix Array problems for AnaAgent.