Fix a bug in SentenceTreeSimplifierFactory