node: fix bug on type conversion for bool config elements