Correcting an index issue relating to parent page elements.