Fixed date format in search form and added function to handle multi-word cities.