Fix for __nonzero__ and __bool__.