Fix issue with retreiving URL of an item