Fixed tag mismatch causing datepicker bug