Fix epic fail in checking equality.