WebRTC duplicate streams

I am trying to publish audio stream using WebRTC. I assume that if I publish stream from any other source with the same name it should be rejected. And wowza somehow behaves like it. But, there is one can case where I am passing some query parameters with stream name e.g somestream?foo=bar. In that way wowza doesn’t rejects second stream. Instead, it replaces first stream with the second. And there is no disconnect event on previous source received. Do any one has idea what should I do about it?

NOTE: no matter query string is same or not, wowza server always replaces the stream with the second one.