Fixed resolving media id in Dune giel.php