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