Fix premailer encoding issue in filtering