Bug 155007 Group Toc doesn't work well
Group Toc doesn't work well Steps to reproduce: run the attached file and preview it in html/web viewer/PDF Expected results: Group toc works well Actual results: Group toc doesn't work well
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
* Needed because we could have nested queries
		 */
		protected LinkedList queryStack = new LinkedList( );
		
		/**
		 * the current condition stack which may be used in creating sub queries . 
		 * The top stores true if the currently prepared is included in the group( header or footer ) 
		 * or flase in the detail.
		 */
		protected LinkedList currentConditionStack = new LinkedList( );
		
		/*
		 * report item query stack
		 * 
		 */
		protected LinkedList reportItemQueryStack;
		/**
		 * entry point to the report
		 */
		protected Report report;
		/**
		 * the execution context
		 */
		protected ExecutionContext context;
		
		/**
		 * the max rows per query
		 */
		protected int maxRows = 0;
		/**