Fix bug in list benchmark script.