Fix for #105 Inconsisten behaviour between element and someElementWithin