Fix bug with loading graphs from URL