Fix bug with redirect looping on /