Fix crash in layout children. Caused by changed dataset if a childview was removed and another childview changed view index