Check for @currentStream.nil? before trying to build URLs