In other word, considering whole document as the context window is more helpful than considering just whole sentence for reranking the candidate.
in order to detect and correct this kind of error, context analysis of the text is crucial.