Fixed a bug in the weather widget location search

Fixed a bug in the weather widget location search where when a query
returned only one result it would fail to parse it.