Improve bounds check guard clause in getMetric
Improve bounds check guard clause in getMetric

Now the if checks that the metricColumn if defined fits inside the metrics
array

AdaptivePELE/AdaptivePELE,AdaptivePELE/AdaptivePELE,AdaptivePELE/AdaptivePELE,AdaptivePELE/AdaptivePELE