Advanced search: allow empty search when file type selected