f1ab236 fix subtle bug with negate checks for streams