Fixed bug in SNORQL in Graph-name list

The first parameter of the jQuery.each callback function is the index.