Fixed issue related to the reordering workflow, when container folder contains only one folder , task begin to performs actions in the infinite loop