a and b can only be equal if both NULL or both set (and all fields the same). Check for this.
Attach a file by drag & drop or click to upload