Weird trace bug?

When I use a trace in a function it works fine, if I add a return node to the function it stops working. I can reproduce this on a new bp and then a new project.

Is this intentional or a weird bug I’ve found?