Fixed issue in TStreamTransaction