Fix warnings when $esubject is undef