Actually it happens by the second value from the list. So instead of "bb" it returns " bb". By the first value from the list it seems to work correctly.
I can not reproduce this problem, except when I add a space after the comma. Please share an example flow if you can still reproduce this problem so I can test using the exact same flow.