Fixed overwriting task config objects.