[TECH SUPPORT] LPS-49364

Hey Brian,

This is a small bugfix, although writing a test for this maybe not possible, since this is called from an advice and also some threadlocals are involved, we are checking the possibility.

Thanks,

Máté