Added index TreeGroupNodes.gID for query where and for potential join to Groups table