[teiid-issues] [JBoss JIRA] Closed: (TEIID-1578) Set query to string should account for branch limits/order bys