Fix redirect loop filter