Really minor equality check fix

Needed for compile.