Blueprint inheritance with parent as pawn

It’s difficult to explain in the title, but what I have are 2 objects, one is defined as the parent class with its parent being pawn (shown below)

And the other has its parent class being the previously mentioned class above.

Now I’m trying to use single line trace to interact with the object, using ‘pawn’ as the object type query, but the function doesn’t seem to recognise the child object as being a pawn and the trace goes right through the object… I tested it with another object that had the parent as pawn and the trace worked fine.

This is what I have for the function

Is there anything in particular I’m doing wrong here, or does class inheritance just not work how I think it does?
Thanks in advance!