Changed getDateStart to getDateEnd in isOverdue