Fixed empty search queries in URLs.