Correcting bug where captcha detection would occur too late