Fix small issue in datetimepicker integration