Clone entities on delete to preserve ids
Prevent division by zero error