Only update list index value when non-zero or parent item