Fixed bug in Streams::relate  Check every time if stream already was related but except messages constructor cycle.  I think you just forgot to add same condition in this cycle.
Fixed bug in Streams::relate
 Check every time if stream already was related but except messages constructor cycle.
 I think you just forgot to add same condition in this cycle.

And the first block is just remove redundant condition.

Qbix/Platform,EGreg/Platform,AndreyTepaykin/Platform,AndreyTepaykin/Platform,Qbix/Platform,Qbix/Platform,EGreg/Platform,Qbix/Platform,AndreyTepaykin/Platform,EGreg/Platform,AndreyTepaykin/Platform,EGreg/Platform