[teiid-issues] [JBoss JIRA] (TEIID-2605) Optimization substitutes wrong column in where clause