Pass `term` to resultRenderFunction