Issue #2286009 by eshta: Read agent status using personalize helper function instead of from agent data.