Fixed small duedate problem