That’s exactly what I do and it’s working as expected.
Can you show the code you are using so we can check the flow?