Fix handling of optional stream ID in DashboardWidgets

Fixes Graylog2/graylog2-web-interface#952