Fix error in url_collect detection.