Sometimes we try to Join elements/solids and it gives us a warning "Can't keep elements joined".
Then, Revit deletes the element.
Could it stop deleting?! Simply don't join them. 
The same for voids and solids whenever is not possible to join them.
Thanks 