made the search language be checked for sanity and using any language as a fallback