Flow scope variable declared in a subflow not working in the same subflow


I have a subflow variable declared, as it follows:

My “Get Number of Members” node is configured correctly, as it follows;

The code of my function “Extract Number of Members” is:

Everything executes fine, but the “bruteForce” property returns null:

But if I change each previous step to “global”, it works:

I’m doing something wrong or is there a chance to be a bug?

If Global variable works and Flow variable does not work, this may be a bug yes. We will check. Thanks for reporting.