TEIID-3106 fixing comparison method