Datepicker fix (now it's possible to clear datefield)