Added dependent destroy to avoid orphaned records