Added handling of sibling position.