Fixes miss-assignment with peers.

The problem occurred if peers worked on different bugs. Since the
relationship was setup so that a peer can only belong to one
bug/message, working on two bugs simultaneously lead to errors with
missing peers.