Fixed a bug which caused some documents to not have their features
extracted.
Merge branch 'jstylo_master' into jsan_master