Added recursion for endDate of term.