Fix file list filtering