Fix not being able to retrieve the origin location if the term had an origin term.