Core/Group: Fix crash in "Group::GetMembersCount"

closes: #9350