Attempt to fix the datepicker issue.