Fix to specify more than one index of metrics separated with comma as the "index" parameter.