Fixed a bug in `StreamSender` (it worked incorrectly for group nesting levels >= 3) and added a test for it.
Merge pull request #195 from trustmaster/master

Fixed a bug in `StreamSender`