Fixed array out of bound issue for secondary table on view metrics tab.