I'm seeing the same issue as you with Outline Code custom fields. The only way I could get the hierarchy to show up correctly in the report was to have a task that had every node of the outline code selected and then it would show up correctly.
So to get around this issue, you could add some dummy task to your plan that have the parent levels of the outline code selected.
Thanks.