Fix bug with getting the Sone element of an element.