Implements ? as the bool operator

Different inequality and equality operators are currently incompatible
in the same expression. This should be fixed.