Fix index in url graphs when 0 graph not exist