Small fix in Entity.deepHashCode