Fix bug: don't compare stream data unless we have constructed stream data