LPS-47013
LPS-46822 make order of operations in `deleteFolder' consistent with the one in DLAppServiceImpl