Make sure a boolean / checkbox is handled correctly.