Why not using  : 

```php
            $item = $entry->getItem($item_id);
            $entry = $item->getEntry();
```