Fix another place where config was deepcopied
(#474)