Fixed one-liner to handle redirects.