Fix endDate bug