Fix duplicate author folder creation and duplicate save of work assignments