filter docs that doesn't contain intersection.