docs: fix nodes_in_any_group return type