fix hook_entity_presave() in oag_communication.module