I'm new to PAD and have been attempting to create a flow to rename folders so the names have no special characters and are less than 40 characters. Please see flow below:

Error in line 14
With the flow i have made it only works if the folder name contains a special character the the flow runs correctly however when the folder name is less than 40 characters and has no special characters i get an error stating "Folder to move does not exist"
With the following error:
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Folder to move doesn't exist.
at Microsoft.Flow.RPA.Desktop.Modules.Folder.Actions.MoveFolder.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)