The frontend save `array[boolean]` as a JSON array with string element (e.g. `["true", "false", "true"]`), which is not handled by LoopNode correctly. This commit fix the issue by converting each element into Python bool type before building segment.