fixing a bug in DOMPostorderpredecessor code: can handle multi-way trees now