Handles deep redirect loops