Fixes #2. Use the full object as key and not its hashCode. Thanks
Ronald.