Fixed indexing of objects
Fixed loading objects in Entity::find()