Added check for overdue and not completed.