Well, instance state is a dictionary, and get_extended_due_date() operates on objects.  This was written before we changed the due date semantics to always favor the later occurring date.