Fix bug related to following globs.
Merge pull request #10 from joeheung/master

Fix bug related to following globs.