Corrected the bug introduced in __bool__