Handle null & undefined stream inputs uniformly.