Unless I'm mistaken, get_units_with_due_dates() appears to only walk the course tree until it hits a due date and then it stops. I think that works for our needs, but I wanted to check.

@ichuang