The hierarchical layout algorithm doesn't care how the graph was created, it simply considers the edge directions. Since the orientation setting of the hierarchical layout definitely has the desired effect, I suppose that the directions of the edges are not as expected. Can you please upload an image or the graphml file of your graph?
Uploading files to this forum is described in this question: http://yed.yworks.com/support/qa/1734/
Please remove any confidential information from your files before uploading.