Fix compare with string object