Added checking if due date is in the future.