If you call ParseName in a Web folder and the relative path is composed of several steps separated by backslash characters, the Parent of the resulting FolderItem resolves incorrectly to the first step.
Make sure you always replace backslash separators with slash separators in relative paths when dealing with Web folders.