Minor fix so that redirects are followed.