Bool

Fixed logical error