Fixed peer discovery bug