Fixed bug that would lead to exception when deleting sibling nodes. Now changed the ordering so the last siblings will always be deleted first.