cast tinyint booleans to true/false