Add configurable option to support nested inventory groups.