Change the way chidlren were being deleted