> Should be: value !== 1 instead of value != 1

Fixed.