I did need to use deepcopy().