Fixed the group view for agents not init. Ticket: #1584
(cherry picked from commit 62c38c8a9f2ff160ab1dc312d43e55d4cdbb1369)