Fix from email address and person_nodes_expiring_in
Fix sql statement