Fixed a duplicate event handler bug.

Fixed a bug where every channel entering a bridge would create an event handler for a channel leaving a bridge, leading to duplicate handlers.