widgets/weather: remove null values from query string if location is set