Equality check added