[Truffle] Fixed bug in value profiling - wasn't checking for object identity.