Fix variable-not-defined error w/proactive routing

Reported-by: Brian O'Connor (bocon13 on GitHub)

Closes bug #1