fix the busted conditional in redirect erb files