Fixes for the object_comparison() method.
Authored by: bugman 2008-06-28
Parent: [r6536]
Child: [r6538]