Date picker on search form now works properly