Don't leave is_block in bad state after bad redirection

Fixes #1728.