Fix bug with printing due to uneven handling of bool types