TEIID-3129 updating logic related to dupremoval