Corrected sibling index setting