We use the property that the conncheck list is ordered by pairs priorities, so we don't have to iterate twice.