Fixing bug in equals().
Fixing a nasty bug on Ref Source .equals().