Fixed the location header expect to use && instead of ||

I was doing an OR when it should be doing an AND.