Convert ints to boolean where appropriate