You have to set MaterialIndex and ElementIndex => 0 if you just have 1 material(slot).
Edit: Can you show the blueprint content (DefaultSceneRoot, Mesh, etc…)? I am asking because the GetMaterial source looks wrong. And you can also always use a PrintString to debug. E.g. use a PrintString after the GetMaterial to show the DisplayName. Does it get printed to screen?