Fixed the renderer so it checks if dueDate is not null.