bd800fa7e7
Motivation: Streams can be deregistered so we can't assume their existence in the stream map. Modifications: Add a null-check in case a stream has been deregistered. Result: Fixes #7898.