Move custom fields when category is removed