Fix boolean attributes