Modify deleteObject not to delete a folder containing children

Workbench TCK said that is an error.