Fixed bug with instance variable in mailer template