Fixed multiple message delivery on tree based topology.

Closes #8.