Fix inconsistent `==`/`===` usage

Whooops :-)