fix DashDocsSearch function when filetype is not available