Fix output of booleans

Booleans would be output as "Y" all the time due to the cleaner checking for the "truthness" of the value type, and not the actual value itself.