Fixed child deletion