TEIID-3106 preventing a tight loop
TEIID-3106 fixing comparison method

TEIID-3106 fixing comparison method
TEIID-3106 ensuring assumptions are validated