Improved captcha_id detection.