Fix peer join event.
Bugfixes.