Fix notice when the tax_query isn't set.
Use isset() if a variable is set.
Exclude post types from other languages from search.
Don't set the post type on search page.
Merge branch 'fix-taxonomy-notices' into my-version
Merge branch 'fix-search-query' into my-version