Fixed problem with object comparisons.