Set parent = 0 on terms whose parent matches, when converting from a parent base