SQL query added to delete orphaned children of deleted largedbobject