You're right, it is wrong.
But now we get into the question of how well should one parse the String version of a boolean :pensive:
I'll just take 'true' as true and everything else as false..