Improve minimatch patterns