CRM-12306 - fix null over-write on is_email_receipt