Fix a small bug when retrieving a url/file report