Correct double datepicker error for chrome (closes #3814)