Mailing list form redirects to /undefined