Minor bug fix for XMPPStreamManagement