Fixes for the object_comparison() method.
The objects in string form are now compared to avoid comparison nastiness and, in compensation, the object types are also checked.
Authored by: bugman 2008-06-28
Parent: [r6543]
Child: [r6545]