Issue484 fix

This fixes the issue when comparing 2 identical objects which throw an exception in their equals method.