I think it needs to be `...&& (fileList || [search mode is not Quick Open]) &&...`