Fix file select when no files are found