Fixes bug that prevented removal of timed-out peers.