Fix MatchNoneDocsWeight infinite recurse issue