DateTime None value return bug fixed