Oops, that code was actually working as intended

Undoing the "fix" and adding a comment explaining the logic so I don't
undo the undo again at a later date.
Add extra debug prints

Also remove an unnecessary "unless"
Merge pull request #1012 from afuna/fix-fix-captcha-backoff

Undo "fix" of captcha task