Fix bug __nonzero__