Fixed two bugs in method getParentSentenceTag