Fix checking for new peer