Missed equality check

I guess we missed an equality check here.