Fixed an error when trying to watch a stream with an optional subscription.