Bug in ObjectDB when object has overridden equals and getHashCode