Fix wrong logic in captcha