Fix ObjectIntIdentityMap sporadically matching non-identical objects.

Fixes crashes like http://openeye.openmods.info/crashes/f53928a30b861a96a96081382dc73091