Fix indentation
Tweak conditional redirect