Updated the code in Legacy/Tasks.php to ensure the setOntraportTagById method only executes when the clientId is greater than 0. This conditional check was inserted to prevent Ontraport tagging by invalid or zero-value client IDs. This change increases code efficiency and reduces potential runtime errors.