Bug fix: multiple emails sent to reps if lead/sub unit due to incorrect comparison