TEIID-2942 fix for duplicate results from enhanced sort join