private static bool Match(ComponentGroup group, NativeArray <ComponentType> entityComponentTypes)
        {
            foreach (var groupType in group.GetQueryTypes().Skip(1))
            {
                var found = false;
                foreach (var type in entityComponentTypes)
                {
                    if (type.TypeIndex != groupType.TypeIndex)
                    {
                        continue;
                    }
                    found = true;
                    break;
                }

                if (found == (groupType.AccessModeType == ComponentType.AccessMode.Exclude))
                {
                    return(false);
                }
            }

            return(true);
        }