fix delete order errors

#### Reviewers
@jframos @flopezag

#### Description
FIX destroy method to keep data consistency 

#### Test
Tested locally
this method is as it has been for the last year, we are just modifying the order on wich its content is executed. A refactor is obviously something to do, but one thing at a time.