Fixed handling of empty output in abstract stream filter.