Add edge case for redirects