TEIID-2363 correcting an issue with nested table joins