Fixed a bug which caused some documents to not have their features
extracted.