Fix redirect activation.

Outch. Typo and forgotten "global".