Mailing.sendIf bug fix