Fixed bug where all requests were treated as redirects