TEIID-2457 fix for improper tuplebuffer removal