Fixed Delete Parent Bug

Now when you delete a parent all the children are deleted too.