Term vector API: return found: false for docs between index and refresh

Closes #7121
Was the additional `endObject` causing a bug? If it's not needed anymore it means it closed an object one too many times before this fix?