Fixed redirect loop in broken link redirects