Finally replaced the <meta /> refresh with Javascript.