Improved date input in search form