Fixed a bug in DeepEqual