Return all parents of an element